package java_io.csv;

import java.util.Date;

public class Contact {
	String email;
	String fname;
	String lname;
	String dob;
	
	Contact(String email,	String fname, String lname,	String dob){
		this.email = email;
		this.fname = fname;
		this.lname = lname;
		this.dob = dob;
	}
	
	public void print(){
		System.out.println("Email: " + email);
		System.out.println("Fname: " + fname);
		System.out.println("Lname: " + lname);
		System.out.println("DOB: " + dob);
		System.out.println("*****************************");
	}
	
	public String getContact(){		
		return email + "," + fname + "," + lname + "," + dob ;
		
	}
}
